package com.woniu.darryringmall.front.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.darryringmall.front.entity.ActivitySpec;
import org.apache.ibatis.annotations.Delete;

/**
 * 活动中间表Mapepr接口
 */
public interface ActivitySpecMapper extends BaseMapper<ActivitySpec> {
    @Delete("delete from mall_activity_middle where activityId=#{activityId} and userId=#{userId}")
    void delete(int activityId,int userId);
}
